﻿using Adnc.Application.Shared.Dtos;
using System;
using System.Collections.Generic;
using System.Text;

namespace WYT.Ord.Application.Contracts.Dtos.ShopCart
{
    /// <summary>
    /// 购物车商品列表
    /// </summary>
    public class ProductListDto : IDto
    {
        /// <summary>
        /// 购物车ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 商品ID
        /// </summary>
        public long GoodsId { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string GoodsName { get; set; }

        /// <summary>
        /// 规格ID
        /// </summary>
        public long SizeId { get; set; }

        /// <summary>
        /// 规格名称
        /// </summary>
        public string SizeName { get; set; }

        /// <summary>
        /// 是否是第三方商品
        /// </summary>
        public bool IsThirdParties { get; set; }

        /// <summary>
        /// Thumbnail图
        /// </summary>
        public string Thumbnail { get; set; }

        /// <summary>
        /// 商品数量
        /// </summary>
        public int Count { get;set; }

        /// <summary>
        /// 是否是国外商品
        /// </summary>
        public bool IsForeign { get; set; }

        /// <summary>
        /// 商品原价
        /// </summary>
        public decimal OriginalPrice { get; set; }

        /// <summary>
        /// 价格
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 赠品信息
        /// </summary>
        public List<ProductGiftDto> Gifts { get; set; }
    }
}
